package com.jiangjiang.eshop.membership.convert;

import com.jiangjiang.eshop.membership.domain.UserDetailEntity;
import com.jiangjiang.eshop.membership.dto.UserDetailDTO;
import org.mapstruct.Mapper;

/**
 * @ClassName UserDetailConvert
 * @Description TODO
 * @Author jhw
 * @Date 2021/8/21 13:00
 * @Version 1.0
 **/
@Mapper(componentModel = "spring")
public interface UserDetailConvert {
    UserDetailDTO convertEntity2DTO(UserDetailEntity userDetail);

    UserDetailEntity convertDTO2Entity(UserDetailDTO detailDTO);
}
